import { http } from "@/utils/http/axios";

/**
 * @description 获取用户菜单(当前登录的用户名在后端获取, 防止篡改)
 */
export function getUserMenus() {
  return http.request({
    url: "/user-menus",
    method: "GET",
  });
}
